﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Entity.Entity
/// <summary>
/// 版 本 钢易智企2.0 V 2.0.0 钢易智企2.0
/// Copyright (c) 2023 杭州钢易科技有限公司
/// 创建人：曾东明
/// 日 期：2024
/// 描 述：
/// </summary>
{
	public class WholeEntity<TKey>:BaseEntity<TKey>
	{
		public WholeEntity()
		{ 
		
		}

		/// <summary>
		/// 创建时间
		/// </summary>
		[SugarColumn( ColumnName= "creation_time")]
        public DateTime CreationTime { get; set; }
		/// <summary>
		/// 更新时间
		/// </summary>
		[SugarColumn(ColumnName = "last_modification_time")]
		public DateTime LastModificationTime { get; set; }
		/// <summary>
		/// 创建者id
		/// </summary>
		[SugarColumn(ColumnName = "creator_id")]
		public long CreatorID { get; set; }

		/// <summary>
		/// 更新人id
		/// </summary>
		[SugarColumn(ColumnName = "last_modifier_id")]
		public long LastModifierID { get; set; }

		/// <summary>
		///数据删除状态
		/// </summary>
		[SugarColumn(ColumnName = "is_delete")]
		public bool IsDelete { get; set; }

		/// <summary>
		/// 删除者id
		/// </summary>
		[SugarColumn(ColumnName = "deleter_id")]
		public long DeleterID { get; set; }

		/// <summary>
		/// 删除时间
		/// </summary>
	   [SugarColumn(ColumnName = "deletion_time")]
		public DateTime DeletionTime { get; set; }

		/// <summary>
		///数据版本标签 相同版本可以更新
		/// </summary>
		[SugarColumn(ColumnName = "concurrency_stamp")]
		public long ConcurrencyStamp { get; set; }

	}
}
